Ext.define('AutoTestApp.view.Viewport', {
    extend: 'Ext.container.Viewport',
    requires: [
		'AutoTestApp.view.CenterPanel.CenterPanel',
        'Ext.layout.container.Border'
    ],

    layout: 'border',

    items: [
		{
			region: 'west',
			xtype:'panel',
			title: '功能',
			split: true,
			width: 200,
			minWidth: 175,
			maxWidth: 400,
			collapsible: true,
			animCollapse: true,
			margins: '0 0 0 5',
			layout: 'accordion',
			items: [{
				title: '自动化测试',
				xtype: 'view-lists-AutoTestTree',
				split: true,
			    iconCls: 'apps-nav'
			}, {
				xtype: 'view-lists-BasicSettingTree',
				title : '基础信息',
				split: true,
			    iconCls: 'apps-settings'
            }, {
				xtype: 'view-lists-StatisticsTree',
                title: '信息统计',
				split: true,
                iconCls: 'apps-info'
            }]
		}, {
            xtype: 'view-CenterPanel-AutoTestCenterPanel',
			preventHeader : true,
            region: 'center'
        }
    ]
});
